<template>
    <input type="text" placeholder="请输入查询关键字。。。" v-model="skey" />
</template>
<script>
export default {
    data:function(){
        return {
            skey:''
        }
    },
    watch:{
        skey:function(){
            this.$emit("search",this.skey);
        }
    }
}
</script>
<style scoped>

</style>